

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
<head id="Head1"><title>

</title><meta http-equiv="X-UA-Compatible" content="IE=7" />

 <script src="js/ext-base.js" type="text/javascript"></script>
    <script src="js/ext-all.js" type="text/javascript"></script>
    <link href="css/MainStyle.css" rel="stylesheet" type="text/css" />
    <script src="js/cAlert.js" type="text/javascript"></script>
    <script src="js/WdatePicker.js" type="text/javascript"></script>

    <script src="js/jquery.cookies.2.2.0.min.js" type="text/javascript"></script>
 
    <script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
    <!--[if IE]><script src="../../Res/JS/Platform/btrc1/other_libs/excanvas_r3/excanvas.js" type="text/javascript" charset="utf-8"></script><![endif]-->
    <script src="js/jquery.bt.min.js" type="text/javascript"
        charset="utf-8"></script>

    <!--[if IE]><link href="../../Res/JS/Platform/btrc1/DEMO/demofiles/demo-ie-fix.css" rel="stylesheet" type="text/css" /><![endif]-->
    
    <link href="css/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" />
    
    <script src="js/jquery-ui-1.8.18.custom.min.js" type="text/javascript"></script>
    <script src="js/autoComplete.js" type="text/javascript"></script>
    <style type="text/css">
        *
        {
            margin: 0px;
            padding: 0px;
        }
        .page
        {
            text-align: center;
            margin-top: 15px;
        }
        .page .pageBtn
        {
            margin: 0px 10px 0px 10px;
            font-size: 20px;
            line-height: 22px;
            color: blue;
            display: -moz-inline-box;
            display: inline-block;
            min-width: 30px;
        }
        .page .disablePageBtn
        {
            border: none;
            color: Gray;
        }
        .page .curPageBtn
        {
            border: none;
            color: Gray;
            font-weight: bold;
        }
        .page .enablePageBtn
        {
            border: 1px solid #e7e4f0;
        }
        .page .enablePageBtn
        {
            cursor: hand;
            cursor: pointer;
            border: 1px solid #ebebeb;
            background-color: #ebebeb;
        }
        .page .enablePageBtn:hover
        {
            border: 1px solid #ebebeb;
            background-color: #ebebeb;
        }
        .page .prePage
        {
        }
        .page .nextPage
        {
        }
        .mainx
        {
            width: auto;
        }
        .Childx
        {
            width: 230px;
            float: left;
        }
        .ui-button
        {
            margin-left: 0px;
        }
        .ui-button-icon-only .ui-button-text
        {
            padding: 0.15em;
        }
        .ui-autocomplete-input
        {
            margin: 0;
            padding: 0.18em 0 0.18em 0.18em;
            font-size: 12px;
        }
        .Company
        {
            width: 260px;
        }
        .City
        {
            width: 80px;
        }
        .Granary
        {
            width: 260px;
        }
        .GranaryDC
        {
            width: 260px;
        }
        li
        {
            height: 18px;
        }
        .iConButton, .storeButton
        {
            cursor: hand;
            cursor: pointer;
        }
        .CheckColor
        {
            background-color: #D9E7F8;
        }
        .GrainColor
        {
            background-color: #F1EDED;
        }
        .Start
        {
            color: red;
        }
        .WenDuAlign
        {
            text-align: left;
        }
        .gid
        {
            margin-top: 5px;
        }
        .gidTitle
        {
            background-color: white;
            border:1px solid #B5CEED;
        }
        
        .granaryText
        {
            
            font-size: 16px;
            font-weight: bold;
            margin-left: 10px;
        }
        .weatherInfoTitle
        {
            font-size: 14px;
            color: red;
            font-weight: bold;
            margin-left: 20px;
        }
        .weatherInfo
        {
        }
        .checkinfo1
        {
            margin-left: 20px;
        }
        .checkinfo2
        {
            margin-left: 20px;
            color: Red;
        }
        .gidShow
        {
            float: left;
            width: 35px;
            height: 35px;
        }
        .gidblock, #divComments
        {
            display: none;
        }
        #ulNav
        {
            margin: 0px auto;
            text-align: center;
        }
        #ulNav .liItem
        {
            width: 250px;
            height: 167px;
            list-style-type: none;
            float: left;
            margin: 5px;
            display: none;
        }
        .ulWarning li
        {
            list-style-type: none;
            float: left;
            height: 200px;
            width: 160px;
            margin: 5px;
        }
        #ulNav .li_gname
        {
            font-weight: bold;
            font-size: 15px;
        }
        #ulNav .li_div_Item
        {
            border: 1px solid #8daad1;
        }
        #ulNav .li_div_img
        {
            height: 123px;
        }
        #ulNav .li_div_name
        {
            text-align: left;
            margin-top: 10px;
        }
        #ulNav .emptywarning
        {
            color: Red;
            font-weight: bold;
        }
        #ulNav .dashedline
        {
            border-bottom: 1px dashed #8daad1;
            height: 1px;
            overflow: hidden;
            clear: both;
        }
        .imgweather
        {
            border: 0px;
            width: 24px;
            height: 24px;
        }
        #ulNav .wf1
        {
            font-weight: bold;
        }
        #ulNav .wf1, #ulNav .wf2, #ulNav .wf3, #ulNav .wf4, #ulNav .wf5
        {
            font-size: 12px;
        }
        #ulNav .houseinfo
        {
            font-size: 13px;
            padding-left: 20px;
        }
        #ulNav .li_table
        {
            border-width: 0px;
            display: block;
            width: 100%;
        }
        #ulNav .li_imgtd_
        {
            width: 76px;
            border-width: 0px;
        }
        #ulNav .li_nametd
        {
            border-width: 0px;
            vertical-align: top !important;
        }
        #ulNav, #ulNav table, #ulNav td, #ulNav .li_a_gname
        {
            color: #8daad1 !important;
        }
        #ulNav .weatherImg
        {
            border: 0px;
            width: 22px;
            height: 22px;
        }
        #ulNav .li_div_weather, #ulNav .wf1, #ulNav .wf2, #ulNav .wf3, #ulNav .wf4, #ulNav .wf5
        {
            vertical-align: middle;
            text-align: left;
        }
        #ulNav .li_a_gname:hover
        {
            color: Red !important;
        }
        #ulNav .li_a_gname
        {
            cursor: hand;
            cursor: pointer;
        }
        
        .huizongname
        {
            cursor: hand;
            cursor: pointer;
        }
        #btnShowAll
        {
            cursor: hand;
            cursor: pointer;
        }
        #html{width: 100%;height: 100%;}
    </style>
    <style type="text/css">
        #loading
        {
            position: absolute;
            left: 45%;
            top: 40%;
            padding: 2px;
            height: auto;
        }
        .mask
        {
            background-color: #72a3e2;
            left: 0;
            top: 0;
            opacity: 0.2;
            overflow: hidden;
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 900;
            filter: progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=12,finishOpacity=20);
        }
        .imgWeidu{ width:16px; height:16px;}
    </style>
</head>
<body style="width:99%;height:105%;border:5px solid #99bbe8;margin:0 auto;border-radius:10px;">
    <form name="form1" method="post" action="TempOrHumWaringSubNav.aspx?gid=SA0000000000401&amp;GranaryName=%u4e2d%u592e%u50a8%u5907%u7cae%u6f62%u5ddd%u76f4%u5c5e%u5e93&amp;GidDc=DC0000000356957&amp;datetime=2017-05-23+&amp;windowWidth=1416" id="form1">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUIMTA1NDkwNjMPZBYCAgEPZBYGAgIPEGRkFgBkAgMPEGRkFgBkAgUPEGRkFgBkZMlf3ZgqhNgZUrEBQesLMA+cT7ScTtiF1yDofWU9QXrU" />
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>


<script src="js/WebResource.axd?d=zHDbwQNBZkRzBNw2y9i1xg2&amp;t=635694614495804448" type="text/javascript"></script>


<script src="js/ScriptResource.axd?d=2-U7prMC6qCzWBWmoATkVPRCphLz80qe0iL8druuXGlXVr0BXQbHc9Qw6r2YAC4zSa1KFXTc7eSvrMa-_PM1QrIDP4a2DXGuKrn2AWZqc4A1&amp;t=16ab2387" type="text/javascript"></script>
<script src="js/ScriptResource.axd?d=2-U7prMC6qCzWBWmoATkVPRCphLz80qe0iL8druuXGlXVr0BXQbHc9Qw6r2YAC4zTyvgvKd2n8rrVS-QvZ7VAlSVRDlnt35HOIPZVfpgGYo1&amp;t=16ab2387" type="text/javascript"></script>
<div>

	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWFALzpp2oAwKjzu7EAQK+5ZrtBQK/z9zDCQK8hMyGBgLN84PrDgKDueP9CAKgw6OYBwL8xc2/AwL02tD3DwLzhaL/DgKk2/vQAwLF/c//CwLbxK63CAKe3Y3gBQLm2aexAQLzjumbDwKYyPuGCAKa8LPSAgLluvS0AXdPv7rie8YgDCfl+ueIokjzis5cTspAyGfRD0bMosbL" />
</div>
    <script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ScriptManager1', 'form1', [], [], [], 90, '');
//]]>
</script>

    <div>
        <table width="100%" class="noboder">
            <tr>
                <td colspan="4" class="tdthread">
                    湿度预警
                </td>
            </tr>
            <tr class="noboder">
                <td colspan="4">
                    <table width="100%">
                        <tr class="noboder">
                            <td class="tbtitle">
                                分公司：
                            </td>
                           <td class="tbright">
                                &nbsp;<select name="ddl_Company_AutoComplete" id="ddl_Company_AutoComplete" mark="Company" class="Company_AutoComplete" style="display: none;">
<option value="">Select one...</option><option value="SA0000000000035" title="zhongguochubeiliangguanlizonggongsihenanfengongsi">中国储备粮管理总公司河南分公司</option></select><input class="Company ui-autocomplete-input ui-widget ui-widget-content ui-corner-left" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true"><button type="button" style="font-size: 12px; height: 24px;" tabindex="-1" title="显示全部信息！" class="ui-button ui-widget ui-state-default ui-button-icon-only ui-corner-right .ui-button-icon-only" role="button" aria-disabled="false"><span class="ui-button-icon-primary ui-icon ui-icon-triangle-1-s"></span><span class="ui-button-text">&nbsp;</span></button>
                                &nbsp;
                                
                            </td>
                            <td class="tbtitle">
                                直属库：
                            </td>
                            <td class="tbright"> 
                                &nbsp;<select name="ddl_Granary_AutoComplete" id="ddl_Granary_AutoComplete" class="Granary_AutoComplete" mark="Granary" style="display: none">
<option value="">Select one...</option><option value="SA0000000000401" title="zhongyangchubeiliangzuochuanzhishuku">中央储备粮潢川直属库</option></select><input class="Granary ui-autocomplete-input ui-widget ui-widget-content ui-corner-left" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true"><button type="button" style="font-size: 12px; height: 24px;" tabindex="-1" title="显示全部信息！" class="ui-button ui-widget ui-state-default ui-button-icon-only ui-corner-right .ui-button-icon-only" role="button" aria-disabled="false"><span class="ui-button-icon-primary ui-icon ui-icon-triangle-1-s"></span><span class="ui-button-text">&nbsp;</span></button>
                                &nbsp;
                            </td>
                        </tr>
                        <tr class="noboder">
                            <td class="tbtitle">
                                粮库：
                            </td>
                            <td class="tbright">
                                &nbsp;<select name="ddl_Granary_AutoComplete_DC" id="ddl_Granary_AutoComplete_DC" class="Granary_AutoComplete_DC" mark="GranaryDC" style="display: none">
<option value="">Select one...</option><option value="DC0000000356957" title="guangshanxiantongfuliangshimaoyiyouxianzerengongsikudian">光山县同富粮食贸易有限责任公司库点</option></select><input class="GranaryDC ui-autocomplete-input ui-widget ui-widget-content ui-corner-left" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true"><button type="button" style="font-size: 12px; height: 24px;" tabindex="-1" title="显示全部信息！" class="ui-button ui-widget ui-state-default ui-button-icon-only ui-corner-right .ui-button-icon-only" role="button" aria-disabled="false"><span class="ui-button-icon-primary ui-icon ui-icon-triangle-1-s"></span><span class="ui-button-text">&nbsp;</span></button>
                            </td>
                            <td class="tbtitle">
                                时间：
                            </td>
                            <td class="tbright">
                                &nbsp;<input name="txtTime" type="text" value="2017-05-23" id="txtTime" class="Wdate" onfocus="WdatePicker({skin:&#39;whyGreen&#39;,dateFmt:&#39;yyyy-MM-dd&#39;,maxDate:&#39;%y-%M-%d&#39;})" />
                                &nbsp;&nbsp;<span id="lbWeatherInfo"></span>
                            </td>
                        </tr>
                        <tr class="noboder">
                            <td class="tbtitle">
                                排序：
                            </td>
                            <td class="tbright" colspan="3">
                                <select name="selectSortMethod" id="selectSortMethod" class="sortmethod" style="width: 100px;">
	<option value="0">默认</option>
	<option value="1">储备类型</option>
</select>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="4" class="tdbtnNew">
                    <input type="submit" name="btn_Query" value="查 询" id="btn_Query" class="anni1 Query" />
                    
                    <!-- <input name="btn_Empty" type="button" id="btn_Empty" class="RedirectOtherPage anni1" lang="EmptyStoreWarningSubNav.aspx" ValidationGroup="003026" value="空仓预警" />
                    <input name="btn_TestTemp" type="button" id="btn_TestTemp" class="RedirectOtherPage anni1" data-canall="0" lang="AutoCheckTempAjaxSub.aspx" ValidationGroup="003025" value="远程测温" /> -->
                    <input name="storeSort" type="button" id="storeSort" class="anni1" value="汇总↓" title="查看汇总">
                    
                    <input name="btnreturn" type="button" id="btnreturn" class="anni1" value="导航视图" title="导航视图" />
                    <br />
                    <span id="Label2" style="color:Red;"></span>
                </td>
            </tr>
        </table>
        
        <div id="dvNav">
            <div>
                
            </div>
            <div style='clear: both;'>
            </div>
            <div id="pageContainer" class='page'>
            </div>
        </div>
        
        <div id="divWarning">
            <div id="divComments" style="display:block;">
                <div>
                    <span style="float: none; height: 8px;" class="iConButton" data-warningtext='温度/湿度异常仓房'>
                        <img src='imgs/Square_Abnormal.gif' width='30px' height='20px'
                            id="CW01" border='0' onmousemove="toolTip('<img src=imgs/Square_Abnormal.gif width=90px height=50px border=0 />')"
                            onmouseout='toolTip()' /><label>【温度/湿度异常仓房】</label></span>&nbsp;&nbsp; <span style="float: none;
                                height: 8px;" class="iConButton" data-warningtext='测温异常'>
                                <img src='imgs/Square_cwyc.gif' width='30px' height='20px'
                                    id="CW02" border='0' onmousemove="toolTip('<img src=imgs/Square_cwyc.gif width=90px height=50px border=0 />')"
                                    onmouseout='toolTip()' /><label>【测温异常】</label></span>&nbsp;&nbsp;
                    <span style="float: none; height: 8px;" class="iConButton" data-warningtext='未上传数据'>
                        <img src='imgs/Square_b.gif' width='30px' height='20px'
                            id="CW03" border='0' onmousemove="toolTip('<img src=imgs/Square_b.gif width=90px height=50px border=0 />')"
                            onmouseout='toolTip()' /><label>【未上传数据】</label></span>&nbsp;&nbsp; <span style="float: none;
                                height: 8px;" class="iConButton" data-warningtext='正常仓房'>
                                <img src='imgs/Square_Normal.gif' width='30px' height='20px'
                                    id="CW04" border='0' onmousemove="toolTip('<img src=imgs/Square_Normal.gif width=90px height=50px border=0 />')"
                                    onmouseout='toolTip()' /><label>【正常仓房】</label></span>&nbsp;&nbsp;
                    <span style="float: none; height: 8px;" class="iConButton" data-warningtext='空仓'>
                        <img src='imgs/Square_a.gif' width='30px' height='20px'
                            id="CW05" border='0' onmousemove="toolTip('<img src=imgs/Square_a.gif width=90px height=50px border=0 />')"
                            onmouseout='toolTip()' />
                        <label>
                            【空仓】</label></span> <span style="float: none; height: 8px;" class="iConButton" data-warningtext='非远程监控仓房'>
                                <img src='imgs/Square_weifenxi.gif' width='30px' height='20px'
                                    id="CW06" border='0' onmousemove="toolTip('<img src=imgs/Square_weifenxi.gif width=90px height=50px border=0 />')"
                                    onmouseout='toolTip()' /><label>【非远程监控仓房】</label></span><label style="color: red">（提示：点击图片可以进行分类查询！）</label>
                </div>
                <div id='divShowAllType' style='text-align: center;'>
                    <span style='margin-left: 20px;'><span id='nowWarningText'></span>
                        <input type="button" class="anni7" value='返回全部仓房' style='display: none;' id="btnShowAll"
                            onclick="ShowWarningType('','')"> </input>
                    </span>
                </div>
                
                
            </div>
            <div style='clear: both;'>
            </div>

            <div id="divHouseWarningContainer">
                <div id="dvContent" style="width:972px;">
                    <div id="warninggidDC0000000356957" class="gidblock" style="display: block;"><div id="gidTitleDC0000000356957" class="gidTitle"><span class="granaryText" data-gid="DC0000000356957"></span><span class="checkinfo2">当前数据为2017-05-22温湿度预警情况，请联系该库点及时上传最新数据，以实时监测最新粮情</span></div><div id="gidContentDC0000000356957" class="gidContent"><div data-gid="DC0000000356957" class="SortByHouseID" id="dvSortByHouseIDDC0000000356957"><div data-chubei="ZD" data-index="0" style="float:left; margin:5px 15px; border-width:0px;text-align:center;vertical-align:top;" width="163px" height="50px"><div data-li-statusid="CW01"><table style="border-width:0px;font-size:12px;" width="110px" height="100px" cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td align="center" colspan="2" style="border-width:0px;">
                                    <a mainid="TempOrHumDetail.aspx?gid=DC0000000356957&amp;housid=356957100100&amp;datetime=2017-05-22" isshow="356957100100" onclick="ShowInfo2('TempDetail.aspx?gid=DC0000000356957&amp;housid=356957100100&amp;datetime=2017/5/22 9:47:12')" style="font-size: 12px; color: Blue; cursor: pointer;" title="">
                                        <img src="imgs/Square_Abnormal.gif" border="0" width="90px" height="50px"> 
                                    </a>
                                </td>
                            </tr>
                            <tr>
                              <td colspan="2" style="border-width:0px;"><table style="border-width:0px;width:160px" class="storeTable" lang="356957100100"><tbody><tr><td align="center" colspan="2"><div style="width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;" title="1号仓[托市粮]">1号仓[托市粮]<br></div></td></tr><tr><td align="left">设计仓容:</td><td align="left">9700吨</td></tr><tr class="checktime" title="粮情平台检测分析时粮食储量"><td align="left" class="CheckColor">2017-05-22</td><td align="left" class="CheckColor">[稻谷]7791吨</td></tr><tr class="grain" title="保管员最后更新粮食储量 "><td align="left" class="GrainColor">2016-05-02</td><td align="left" class="GrainColor">[稻谷]7791吨</td></tr></tbody></table><table style="width:160px"><tbody><tr><td align="center" colspan="2"><a style="cursor:pointer;" onclick="openReports('356957100100','3c665cc5-0baf-4d69-a76a-52a682db273e','2017/5/22 9:47:12')">仓房储粮简报(3)</a></td></tr></tbody></table></td>
                            </tr>
                        </tbody></table></div></div><div data-chubei="ZD" data-index="1" style="float:left; margin:5px 15px; border-width:0px;text-align:center;vertical-align:top;" width="163px" height="50px"><div data-li-statusid="CW01"><table style="border-width:0px;font-size:12px;" width="110px" height="100px" cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td align="center" colspan="2" style="border-width:0px;">
                                    <a mainid="TempOrHumDetail.aspx?gid=DC0000000356957&amp;housid=356957100200&amp;datetime=2017-05-22" isshow="356957100200" onclick="ShowInfo2('TempDetail.aspx?gid=DC0000000356957&amp;housid=356957100200&amp;datetime=2017/5/22 9:47:12')" style="font-size: 12px; color: Blue; cursor: pointer;" title="">
                                        <img src="imgs/Square_Abnormal.gif" border="0" width="90px" height="50px"> 
                                    </a>
                                </td>
                            </tr>
                            <tr>
                              <td colspan="2" style="border-width:0px;"><table style="border-width: 0px; width: 160px; text-decoration: none;" class="storeTable" lang="356957100200"><tbody><tr><td align="center" colspan="2" style="color: black;"><div style="width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;" title="2号仓[托市粮]">2号仓[托市粮]<br></div></td></tr><tr><td align="left" style="color: black;">设计仓容:</td><td align="left" style="color: black;">10500吨</td></tr><tr class="checktime" title="粮情平台检测分析时粮食储量"><td align="left" class="CheckColor" style="color: black;">2017-05-22</td><td align="left" class="CheckColor" style="color: black;">[稻谷]8384吨</td></tr><tr class="grain" title="保管员最后更新粮食储量 "><td align="left" class="GrainColor" style="color: black;">2016-05-02</td><td align="left" class="GrainColor" style="color: black;">[稻谷]8384吨</td></tr></tbody></table><table style="width:160px"><tbody><tr><td align="center" colspan="2"><a style="cursor:pointer;" onclick="openReports('356957100200','7c23c26f-3598-4025-8ff7-29a4b61a3abe','2017/5/22 9:47:12')">仓房储粮简报(3)</a></td></tr></tbody></table></td>
                            </tr>
                        </tbody></table></div></div><div data-chubei="ZD" data-index="2" style="float:left; margin:5px 15px; border-width:0px;text-align:center;vertical-align:top;" width="163px" height="50px"><div data-li-statusid="CW01"><table style="border-width:0px;font-size:12px;" width="110px" height="100px" cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td align="center" colspan="2" style="border-width:0px;">
                                    <a mainid="TempOrHumDetail.aspx?gid=DC0000000356957&amp;housid=356957100300&amp;datetime=2017-05-22" isshow="356957100300" onclick="ShowInfo2('TempDetail.aspx?gid=DC0000000356957&amp;housid=356957100300&amp;datetime=2017/5/22 9:47:12')" style="font-size: 12px; color: Blue; cursor: pointer;" title="">
                                        <img src="imgs/Square_Abnormal.gif" border="0" width="90px" height="50px"> 
                                    </a>
                                </td>
                            </tr>
                            <tr>
                              <td colspan="2" style="border-width:0px;"><table style="border-width: 0px; width: 160px; text-decoration: none;" class="storeTable" lang="356957100300"><tbody><tr><td align="center" colspan="2" style="color: black;"><div style="width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;" title="3号仓[托市粮]">3号仓[托市粮]<br></div></td></tr><tr><td align="left" style="color: black;">设计仓容:</td><td align="left" style="color: black;">7300吨</td></tr><tr class="checktime" title="粮情平台检测分析时粮食储量"><td align="left" class="CheckColor" style="color: black;">2017-05-22</td><td align="left" class="CheckColor" style="color: black;">[稻谷]5834吨</td></tr><tr class="grain" title="保管员最后更新粮食储量 "><td align="left" class="GrainColor" style="color: black;">2016-05-02</td><td align="left" class="GrainColor" style="color: black;">[稻谷]5834吨</td></tr></tbody></table><table style="width:160px"><tbody><tr><td align="center" colspan="2"><a style="cursor:pointer;" onclick="openReports('356957100300','2b79ca20-d01d-4754-abc6-3977e7c915d4','2017/5/22 9:47:12')">仓房储粮简报(3)</a></td></tr></tbody></table></td>
                            </tr>
                        </tbody></table></div></div><div data-chubei="ZD" data-index="3" style="float:left; margin:5px 15px; border-width:0px;text-align:center;vertical-align:top;" width="163px" height="50px"><div data-li-statusid="CW01"><table style="border-width:0px;font-size:12px;" width="110px" height="100px" cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td align="center" colspan="2" style="border-width:0px;">
                                    <a mainid="TempOrHumDetail.aspx?gid=DC0000000356957&amp;housid=356957100400&amp;datetime=2017-05-22" isshow="356957100400" onclick="ShowInfo2('TempDetail.aspx?gid=DC0000000356957&amp;housid=356957100400&amp;datetime=2017/5/22 9:47:12')" style="font-size: 12px; color: Blue; cursor: pointer;" title="" class="">
                                        <img src="imgs/Square_Abnormal.gif" border="0" width="90px" height="50px"> 
                                    </a>
                                </td>
                            </tr>
                            <tr>
                              <td colspan="2" style="border-width:0px;"><table style="border-width: 0px; width: 160px; text-decoration: none;" class="storeTable" lang="356957100400"><tbody><tr><td align="center" colspan="2" style="color: black;"><div style="width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;" title="4号仓[托市粮]">4号仓[托市粮]<br></div></td></tr><tr><td align="left" style="color: black;">设计仓容:</td><td align="left" style="color: black;">7300吨</td></tr><tr class="checktime" title="粮情平台检测分析时粮食储量"><td align="left" class="CheckColor" style="color: black;">2017-05-22</td><td align="left" class="CheckColor" style="color: black;">[稻谷]5829吨</td></tr><tr class="grain" title="保管员最后更新粮食储量 "><td align="left" class="GrainColor" style="color: black;">2016-05-02</td><td align="left" class="GrainColor" style="color: black;">[稻谷]5829吨</td></tr></tbody></table><table style="width:160px"><tbody><tr><td align="center" colspan="2"><a style="cursor:pointer;" onclick="openReports('356957100400','71627baf-569b-4404-96d9-c9952e0a92c5','2017/5/22 9:47:12')">仓房储粮简报(3)</a></td></tr></tbody></table></td>
                            </tr>
                        </tbody></table></div></div><div data-chubei="ZD" data-index="4" style="float:left; margin:5px 15px; border-width:0px;text-align:center;vertical-align:top;" width="163px" height="50px"><div data-li-statusid="CW04"><table style="border-width:0px;font-size:12px;" width="110px" height="100px" cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td align="center" colspan="2" style="border-width:0px;">
                                    <a mainid="TempOrHumDetail.aspx?gid=DC0000000356957&amp;housid=356957100500&amp;datetime=2017-05-22" isshow="356957100500" onclick="ShowInfo2('TempDetail.aspx?gid=DC0000000356957&amp;housid=356957100500&amp;datetime=2017/5/22 9:47:12')" style="font-size: 12px; color: Blue; cursor: pointer;" title="" class="">
                                        <img src="imgs/Square_Normal.gif" border="0" width="90px" height="50px"> 
                                    </a>
                                </td>
                            </tr>
                            <tr>
                              <td colspan="2" style="border-width:0px;"><table style="border-width: 0px; width: 160px; text-decoration: none;" class="storeTable" lang="356957100500"><tbody><tr><td align="center" colspan="2" style="color: black;"><div style="width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;" title="5号仓[托市粮]">5号仓[托市粮]<br></div></td></tr><tr><td align="left" style="color: black;">设计仓容:</td><td align="left" style="color: black;">7300吨</td></tr><tr class="checktime" title="粮情平台检测分析时粮食储量"><td align="left" class="CheckColor" style="color: black;">2017-05-22</td><td align="left" class="CheckColor" style="color: black;">[稻谷]5994吨</td></tr><tr class="grain" title="保管员最后更新粮食储量 "><td align="left" class="GrainColor" style="color: black;">2016-05-02</td><td align="left" class="GrainColor" style="color: black;">[稻谷]5994吨</td></tr></tbody></table><table style="width:160px"><tbody><tr><td align="center" colspan="2"><a style="cursor:pointer;" onclick="openReports('356957100500','8cbe88c4-1833-4c3d-80f5-2c12bf40ca69','2017/5/22 9:47:12')">仓房储粮简报(10)</a></td></tr></tbody></table></td>
                            </tr>
                        </tbody></table></div></div><div data-chubei="ZD" data-index="5" style="float:left; margin:5px 15px; border-width:0px;text-align:center;vertical-align:top;" width="163px" height="50px"><div data-li-statusid="CW04"><table style="border-width:0px;font-size:12px;" width="110px" height="100px" cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td align="center" colspan="2" style="border-width:0px;">
                                    <a mainid="TempOrHumDetail.aspx?gid=DC0000000356957&amp;housid=356957100600&amp;datetime=2017-05-22" isshow="356957100600" onclick="ShowInfo2('TempDetail.aspx?gid=DC0000000356957&amp;housid=356957100600&amp;datetime=2017/5/22 9:47:12')" style="font-size: 12px; color: Blue; cursor: pointer;" title="">
                                        <img src="imgs/Square_Normal.gif" border="0" width="90px" height="50px"> 
                                    </a>
                                </td>
                            </tr>
                            <tr>
                              <td colspan="2" style="border-width:0px;"><table style="border-width:0px;width:160px" class="storeTable" lang="356957100600"><tbody><tr><td align="center" colspan="2"><div style="width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;" title="6号仓[托市粮]">6号仓[托市粮]<br></div></td></tr><tr><td align="left">设计仓容:</td><td align="left">7300吨</td></tr><tr class="checktime" title="粮情平台检测分析时粮食储量"><td align="left" class="CheckColor">2017-05-22</td><td align="left" class="CheckColor">[稻谷]5849吨</td></tr><tr class="grain" title="保管员最后更新粮食储量 "><td align="left" class="GrainColor">2016-05-02</td><td align="left" class="GrainColor">[稻谷]5849吨</td></tr></tbody></table><table style="width:160px"><tbody><tr><td align="center" colspan="2"><a style="cursor:pointer;" onclick="openReports('356957100600','975bfc78-162e-4025-9c37-019c2840f1dc','2017/5/22 9:47:12')">仓房储粮简报(7)</a></td></tr></tbody></table></td>
                            </tr>
                        </tbody></table></div></div><div data-chubei="ZD" data-index="6" style="float:left; margin:5px 15px; border-width:0px;text-align:center;vertical-align:top;" width="163px" height="50px"><div data-li-statusid="CW04"><table style="border-width:0px;font-size:12px;" width="110px" height="100px" cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td align="center" colspan="2" style="border-width:0px;">
                                    <a mainid="TempOrHumDetail.aspx?gid=DC0000000356957&amp;housid=356957100700&amp;datetime=2017-05-22" isshow="356957100700" onclick="ShowInfo2('TempDetail.aspx?gid=DC0000000356957&amp;housid=356957100700&amp;datetime=2017/5/22 9:47:12')" style="font-size: 12px; color: Blue; cursor: pointer;" title="" class="">
                                        <img src="imgs/Square_Normal.gif" border="0" width="90px" height="50px"> 
                                    </a>
                                </td>
                            </tr>
                            <tr>
                              <td colspan="2" style="border-width:0px;"><table style="border-width: 0px; width: 160px; text-decoration: none;" class="storeTable" lang="356957100700"><tbody><tr><td align="center" colspan="2" style="color: black;"><div style="width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;" title="7号仓[托市粮]">7号仓[托市粮]<br></div></td></tr><tr><td align="left" style="color: black;">设计仓容:</td><td align="left" style="color: black;">6500吨</td></tr><tr class="checktime" title="粮情平台检测分析时粮食储量"><td align="left" class="CheckColor" style="color: black;">2017-05-22</td><td align="left" class="CheckColor" style="color: black;">[稻谷]5559吨</td></tr><tr class="grain" title="保管员最后更新粮食储量 "><td align="left" class="GrainColor" style="color: black;">2017-05-08</td><td align="left" class="GrainColor" style="color: black;">[稻谷]5559吨</td></tr></tbody></table><table style="width:160px"><tbody><tr><td align="center" colspan="2"><a style="cursor:pointer;" onclick="openReports('356957100700','df8a30ee-fcb9-463b-8e7a-2c44b03aef1b','2017/5/22 9:47:12')">仓房储粮简报(2)</a></td></tr></tbody></table></td>
                            </tr>
                        </tbody></table></div></div><div data-chubei="ZD" data-index="7" style="float:left; margin:5px 15px; border-width:0px;text-align:center;vertical-align:top;" width="163px" height="50px"><div data-li-statusid="CW04"><table style="border-width:0px;font-size:12px;" width="110px" height="100px" cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td align="center" colspan="2" style="border-width:0px;">
                                    <a mainid="TempOrHumDetail.aspx?gid=DC0000000356957&amp;housid=356957100800&amp;datetime=2017-05-22" isshow="356957100800" onclick="ShowInfo2('TempDetail.aspx?gid=DC0000000356957&amp;housid=356957100800&amp;datetime=2017/5/22 9:47:12')" style="font-size: 12px; color: Blue; cursor: pointer;" title="" class="">
                                        <img src="imgs/Square_Normal.gif" border="0" width="90px" height="50px"> 
                                    </a>
                                </td>
                            </tr>
                            <tr>
                              <td colspan="2" style="border-width:0px;"><table style="border-width: 0px; width: 160px; text-decoration: none;" class="storeTable" lang="356957100800"><tbody><tr><td align="center" colspan="2" style="color: black;"><div style="width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;" title="8号仓[托市粮]">8号仓[托市粮]<br></div></td></tr><tr><td align="left" style="color: black;">设计仓容:</td><td align="left" style="color: black;">6500吨</td></tr><tr class="checktime" title="粮情平台检测分析时粮食储量"><td align="left" class="CheckColor" style="color: black;">2017-05-22</td><td align="left" class="CheckColor" style="color: black;">[稻谷]5354吨</td></tr><tr class="grain" title="保管员最后更新粮食储量 "><td align="left" class="GrainColor" style="color: black;">2017-05-08</td><td align="left" class="GrainColor" style="color: black;">[稻谷]5354吨</td></tr></tbody></table><table style="width:160px"><tbody><tr><td align="center" colspan="2"><a style="cursor:pointer;" onclick="openReports('356957100800','36203c66-7e61-4bca-9a99-88241d96504e','2017/5/22 9:47:12')">仓房储粮简报(1)</a></td></tr></tbody></table></td>
                            </tr>
                        </tbody></table></div></div><div data-chubei="ZD" data-index="8" style="float:left; margin:5px 15px; border-width:0px;text-align:center;vertical-align:top;" width="163px" height="50px"><div data-li-statusid="CW04"><table style="border-width:0px;font-size:12px;" width="110px" height="100px" cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td align="center" colspan="2" style="border-width:0px;">
                                    <a mainid="TempOrHumDetail.aspx?gid=DC0000000356957&amp;housid=356957100900&amp;datetime=2017-05-22" isshow="356957100900" onclick="ShowInfo2('TempDetail.aspx?gid=DC0000000356957&amp;housid=356957100900&amp;datetime=2017/5/22 9:47:12')" style="font-size: 12px; color: Blue; cursor: pointer;" title="" class="">
                                        <img src="imgs/Square_Normal.gif" border="0" width="90px" height="50px"> 
                                    </a>
                                </td>
                            </tr>
                            <tr>
                              <td colspan="2" style="border-width:0px;"><table style="border-width:0px;width:160px" class="storeTable" lang="356957100900"><tbody><tr><td align="center" colspan="2"><div style="width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;" title="9号仓[托市粮]">9号仓[托市粮]<br></div></td></tr><tr><td align="left">设计仓容:</td><td align="left">7300吨</td></tr><tr class="checktime" title="粮情平台检测分析时粮食储量"><td align="left" class="CheckColor">2017-05-22</td><td align="left" class="CheckColor">[稻谷]5984吨</td></tr><tr class="grain" title="保管员最后更新粮食储量 "><td align="left" class="GrainColor">2017-05-08</td><td align="left" class="GrainColor">[稻谷]5984吨</td></tr></tbody></table><table style="width:160px"><tbody><tr><td align="center" colspan="2"><a style="cursor:pointer;" onclick="openReports('356957100900','67cfa416-e096-4f9b-9057-efe24f42c272','2017/5/22 9:47:12')">仓房储粮简报(2)</a></td></tr></tbody></table></td>
                            </tr>
                        </tbody></table></div></div><div data-chubei="ZD" data-index="9" style="float:left; margin:5px 15px; border-width:0px;text-align:center;vertical-align:top;" width="163px" height="50px"><div data-li-statusid="CW01"><table style="border-width:0px;font-size:12px;" width="110px" height="100px" cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td align="center" colspan="2" style="border-width:0px;">
                                    <a mainid="TempOrHumDetail.aspx?gid=DC0000000356957&amp;housid=356957101000&amp;datetime=2017-05-22" isshow="356957101000" onclick="ShowInfo2('TempDetail.aspx?gid=DC0000000356957&amp;housid=356957101000&amp;datetime=2017/5/22 9:47:12')" style="font-size: 12px; color: Blue; cursor: pointer;" title="" class="">
                                        <img src="imgs/Square_Abnormal.gif" border="0" width="90px" height="50px"> 
                                    </a>
                                </td>
                            </tr>
                            <tr>
                              <td colspan="2" style="border-width:0px;"><table style="border-width: 0px; width: 160px; text-decoration: none;" class="storeTable" lang="356957101000"><tbody><tr><td align="center" colspan="2" style="color: black;"><div style="width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;" title="10号仓[托市粮]">10号仓[托市粮]<br></div></td></tr><tr><td align="left" style="color: black;">设计仓容:</td><td align="left" style="color: black;">7300吨</td></tr><tr class="checktime" title="粮情平台检测分析时粮食储量"><td align="left" class="CheckColor" style="color: black;">2017-05-22</td><td align="left" class="CheckColor" style="color: black;">[稻谷]5918吨</td></tr><tr class="grain" title="保管员最后更新粮食储量 "><td align="left" class="GrainColor" style="color: black;">2016-05-02</td><td align="left" class="GrainColor" style="color: black;">[稻谷]5918吨</td></tr></tbody></table><table style="width:160px"><tbody><tr><td align="center" colspan="2"><a style="cursor:pointer;" onclick="openReports('356957101000','e181cf9e-c62a-4f42-8934-995b90a05251','2017/5/22 9:47:12')">仓房储粮简报(11)</a></td></tr></tbody></table></td>
                            </tr>
                        </tbody></table></div></div><div data-chubei="ZD" data-index="10" style="float:left; margin:5px 15px; border-width:0px;text-align:center;vertical-align:top;" width="163px" height="50px"><div data-li-statusid="CW04"><table style="border-width:0px;font-size:12px;" width="110px" height="100px" cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td align="center" colspan="2" style="border-width:0px;">
                                    <a mainid="TempOrHumDetail.aspx?gid=DC0000000356957&amp;housid=356957101100&amp;datetime=2017-05-22" isshow="356957101100" onclick="ShowInfo2('TempDetail.aspx?gid=DC0000000356957&amp;housid=356957101100&amp;datetime=2017/5/22 9:47:12')" style="font-size: 12px; color: Blue; cursor: pointer;" title="">
                                        <img src="imgs/Square_Normal.gif" border="0" width="90px" height="50px"> 
                                    </a>
                                </td>
                            </tr>
                            <tr>
                              <td colspan="2" style="border-width:0px;"><table style="border-width:0px;width:160px" class="storeTable" lang="356957101100"><tbody><tr><td align="center" colspan="2"><div style="width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;" title="11号仓[托市粮]">11号仓[托市粮]<br></div></td></tr><tr><td align="left">设计仓容:</td><td align="left">7300吨</td></tr><tr class="checktime" title="粮情平台检测分析时粮食储量"><td align="left" class="CheckColor">2017-05-22</td><td align="left" class="CheckColor">[稻谷]5778吨</td></tr><tr class="grain" title="保管员最后更新粮食储量 "><td align="left" class="GrainColor">2016-05-02</td><td align="left" class="GrainColor">[稻谷]5778吨</td></tr></tbody></table><table style="width:160px"><tbody><tr><td align="center" colspan="2"><a style="cursor:pointer;" onclick="openReports('356957101100','a46af114-ab77-4a00-8465-fa4393081fd7','2017/5/22 9:47:12')">仓房储粮简报(5)</a></td></tr></tbody></table></td>
                            </tr>
                        </tbody></table></div></div><div data-chubei="ZD" data-index="11" style="float:left; margin:5px 15px; border-width:0px;text-align:center;vertical-align:top;" width="163px" height="50px"><div data-li-statusid="CW01"><table style="border-width:0px;font-size:12px;" width="110px" height="100px" cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td align="center" colspan="2" style="border-width:0px;">
                                    <a mainid="TempOrHumDetail.aspx?gid=DC0000000356957&amp;housid=356957101200&amp;datetime=2017-05-22" isshow="356957101200" onclick="ShowInfo2('TempDetail.aspx?gid=DC0000000356957&amp;housid=356957101200&amp;datetime=2017/5/22 9:47:12')" style="font-size: 12px; color: Blue; cursor: pointer;" title="">
                                        <img src="imgs/Square_Abnormal.gif" border="0" width="90px" height="50px"> 
                                    </a>
                                </td>
                            </tr>
                            <tr>
                              <td colspan="2" style="border-width:0px;"><table style="border-width:0px;width:160px" class="storeTable" lang="356957101200"><tbody><tr><td align="center" colspan="2"><div style="width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;" title="12号仓[托市粮]">12号仓[托市粮]<br></div></td></tr><tr><td align="left">设计仓容:</td><td align="left">7300吨</td></tr><tr class="checktime" title="粮情平台检测分析时粮食储量"><td align="left" class="CheckColor">2017-05-22</td><td align="left" class="CheckColor">[稻谷]5833吨</td></tr><tr class="grain" title="保管员最后更新粮食储量 "><td align="left" class="GrainColor">2016-05-02</td><td align="left" class="GrainColor">[稻谷]5833吨</td></tr></tbody></table><table style="width:160px"><tbody><tr><td align="center" colspan="2"><a style="cursor:pointer;" onclick="openReports('356957101200','367c4d43-138e-4c53-9b29-ee95accb8ff5','2017/5/22 9:47:12')">仓房储粮简报(9)</a></td></tr></tbody></table></td>
                            </tr>
                        </tbody></table></div></div><div data-chubei="ZD" data-index="12" style="float:left; margin:5px 15px; border-width:0px;text-align:center;vertical-align:top;" width="163px" height="50px"><div data-li-statusid="CW03"><table style="border-width:0px;font-size:12px;" width="110px" height="100px" cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td align="center" colspan="2" style="border-width:0px;">
                                    <a mainid="TempOrHumDetail.aspx?gid=DC0000000356957&amp;housid=356957101300&amp;datetime=2017-05-22" isshow="356957101300" onclick="ShowInfo2('TempDetail.aspx?gid=DC0000000356957&amp;housid=356957101300&amp;datetime=2017/5/22 9:47:12')" style="font-size: 12px; color: Blue; cursor: pointer;" title="">
                                        <img src="imgs/Square_b.gif" border="0" width="90px" height="50px"> 
                                    </a>
                                </td>
                            </tr>
                            <tr>
                              <td colspan="2" style="border-width:0px;"><table style="border-width: 0px; width: 160px; text-decoration: none;" class="storeTable" lang="356957101300"><tbody><tr><td align="center" colspan="2" style="color: black;"><div style="width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;" title="13号仓[托市粮]">13号仓[托市粮]<br></div></td></tr><tr><td align="left" style="color: black;">设计仓容:</td><td align="left" style="color: black;">7300吨</td></tr><tr class="checktime" title="粮情平台检测分析时粮食储量"><td align="left" class="CheckColor" style="color: black;">2017-05-22</td><td align="left" class="CheckColor" style="color: black;">[稻谷]6091吨</td></tr><tr class="grain" title="保管员最后更新粮食储量 "><td align="left" class="GrainColor" style="color: black;">2016-05-02</td><td align="left" class="GrainColor" style="color: black;">[稻谷]6091吨</td></tr></tbody></table><table style="width:160px"><tbody><tr><td align="center" colspan="2"><a style="cursor:pointer;" onclick="openReports('356957101300','','2017/5/22 9:47:12')">仓房储粮简报(6)</a></td></tr></tbody></table></td>
                            </tr>
                        </tbody></table></div></div><div data-chubei="ZD" data-index="13" style="float:left; margin:5px 15px; border-width:0px;text-align:center;vertical-align:top;" width="163px" height="50px"><div data-li-statusid="CW04"><table style="border-width:0px;font-size:12px;" width="110px" height="100px" cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td align="center" colspan="2" style="border-width:0px;">
                                    <a mainid="TempOrHumDetail.aspx?gid=DC0000000356957&amp;housid=356957101400&amp;datetime=2017-05-22" isshow="356957101400" onclick="ShowInfo2('TempDetail.aspx?gid=DC0000000356957&amp;housid=356957101400&amp;datetime=2017/5/22 9:47:12')" style="font-size: 12px; color: Blue; cursor: pointer;" title="">
                                        <img src="imgs/Square_Normal.gif" border="0" width="90px" height="50px"> 
                                    </a>
                                </td>
                            </tr>
                            <tr>
                              <td colspan="2" style="border-width:0px;"><table style="border-width: 0px; width: 160px; text-decoration: none;" class="storeTable" lang="356957101400"><tbody><tr><td align="center" colspan="2" style="color: black;"><div style="width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;" title="14号仓[托市粮]">14号仓[托市粮]<br></div></td></tr><tr><td align="left" style="color: black;">设计仓容:</td><td align="left" style="color: black;">7300吨</td></tr><tr class="checktime" title="粮情平台检测分析时粮食储量"><td align="left" class="CheckColor" style="color: black;">2017-05-22</td><td align="left" class="CheckColor" style="color: black;">[稻谷]5789吨</td></tr><tr class="grain" title="保管员最后更新粮食储量 "><td align="left" class="GrainColor" style="color: black;">2016-05-02</td><td align="left" class="GrainColor" style="color: black;">[稻谷]5789吨</td></tr></tbody></table><table style="width:160px"><tbody><tr><td align="center" colspan="2"><a style="cursor:pointer;" onclick="openReports('356957101400','24c248a9-3e65-4977-8ca8-72d72e70c1d2','2017/5/22 9:47:12')">仓房储粮简报(4)</a></td></tr></tbody></table></td>
                            </tr>
                        </tbody></table></div></div><div data-chubei="ZD" data-index="14" style="float:left; margin:5px 15px; border-width:0px;text-align:center;vertical-align:top;" width="163px" height="50px"><div data-li-statusid="CW04"><table style="border-width:0px;font-size:12px;" width="110px" height="100px" cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td align="center" colspan="2" style="border-width:0px;">
                                    <a mainid="TempOrHumDetail.aspx?gid=DC0000000356957&amp;housid=356957101500&amp;datetime=2017-05-22" isshow="356957101500" onclick="ShowInfo2('TempDetail.aspx?gid=DC0000000356957&amp;housid=356957101500&amp;datetime=2017/5/22 9:47:12')" style="font-size: 12px; color: Blue; cursor: pointer;" title="" class="">
                                        <img src="imgs/Square_Normal.gif" border="0" width="90px" height="50px"> 
                                    </a>
                                </td>
                            </tr>
                            <tr>
                              <td colspan="2" style="border-width:0px;"><table style="border-width: 0px; width: 160px; text-decoration: none;" class="storeTable" lang="356957101500"><tbody><tr><td align="center" colspan="2" style="color: black;"><div style="width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;" title="15号仓[托市粮]">15号仓[托市粮]<br></div></td></tr><tr><td align="left" style="color: black;">设计仓容:</td><td align="left" style="color: black;">7300吨</td></tr><tr class="checktime" title="粮情平台检测分析时粮食储量"><td align="left" class="CheckColor" style="color: black;">2017-05-22</td><td align="left" class="CheckColor" style="color: black;">[稻谷]5928吨</td></tr><tr class="grain" title="保管员最后更新粮食储量 "><td align="left" class="GrainColor" style="color: black;">2016-05-02</td><td align="left" class="GrainColor" style="color: black;">[稻谷]5928吨</td></tr></tbody></table><table style="width:160px"><tbody><tr><td align="center" colspan="2"><a style="cursor:pointer;" onclick="openReports('356957101500','e0c4b904-f511-446a-9617-2c32f82ef471','2017/5/22 9:47:12')">仓房储粮简报(6)</a></td></tr></tbody></table></td>
                            </tr>
                        </tbody></table></div></div><div data-chubei="ZD" data-index="15" style="float:left; margin:5px 15px; border-width:0px;text-align:center;vertical-align:top;" width="163px" height="50px"><div data-li-statusid="CW04"><table style="border-width:0px;font-size:12px;" width="110px" height="100px" cellpadding="0" cellspacing="0">
                            <tbody><tr>
                                <td align="center" colspan="2" style="border-width:0px;">
                                    <a mainid="TempOrHumDetail.aspx?gid=DC0000000356957&amp;housid=356957101600&amp;datetime=2017-05-22" isshow="356957101600" onclick="ShowInfo2('TempDetail.aspx?gid=DC0000000356957&amp;housid=356957101600&amp;datetime=2017/5/22 9:47:12')" style="font-size: 12px; color: Blue; cursor: pointer;" title="">
                                        <img src="imgs/Square_Normal.gif" border="0" width="90px" height="50px"> 
                                    </a>
                                </td>
                            </tr>
                            <tr>
                              <td colspan="2" style="border-width:0px;"><table style="border-width:0px;width:160px" class="storeTable" lang="356957101600"><tbody><tr><td align="center" colspan="2"><div style="width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;" title="16号仓[托市粮]">16号仓[托市粮]<br></div></td></tr><tr><td align="left">设计仓容:</td><td align="left">7300吨</td></tr><tr class="checktime" title="粮情平台检测分析时粮食储量"><td align="left" class="CheckColor">2017-05-22</td><td align="left" class="CheckColor">[稻谷]5799吨</td></tr><tr class="grain" title="保管员最后更新粮食储量 "><td align="left" class="GrainColor">2016-05-02</td><td align="left" class="GrainColor">[稻谷]5799吨</td></tr></tbody></table><table style="width:160px"><tbody><tr><td align="center" colspan="2"><a style="cursor:pointer;" onclick="openReports('356957101600','e0b31d6a-8d5f-41ab-9542-d6a72a73b374','2017/5/22 9:47:12')">仓房储粮简报(11)</a></td></tr></tbody></table></td>
                            </tr>
                        </tbody></table></div></div></div><div data-gid="DC0000000356957" class="SortByChubei" id="dvSortByChubeiDC0000000356957"></div></div></div>
                </div>
            </div>




            <!-- <div id='divHouseWarningContainer'>
                <div id="dvContent">
                    
                </div>
            </div> -->
        </div>
    </div>
    <div id="divMask" style="display: none;">
        <div id="loading">
            <div style="text-align: center; color: red; font-size: large; font-weight: bold;
                background-color: White;">
                <img src="imgs/extanim32.gif" alt="" style="width: 32px; height: 32px;"
                    align="absmiddle" />
                数据加载中...
            </div>
            <div id="loading-mask">
            </div>
        </div>
        <div style="" id="divB" class="mask">
        </div>
    </div>
    <!--AutoComplete 配置项***************************************************************************-->
    <input type="hidden" name="hdCompany" id="hdCompany" />
   <input type="hidden" name="hdCompanyName" id="hdCompanyName" value="中国储备粮管理总公司河南分公司">
    <input type="hidden" name="hdCity" id="hdCity" />
    <input type="hidden" name="hdGranary" id="hdGranary" value="SA0000000000401" />
    <input type="hidden" name="hdGranaryName" id="hdGranaryName" value="中央储备粮潢川直属库" />
    <input type="hidden" name="hdGranaryDC" id="hdGranaryDC" value="DC0000000356957" />
    <input type="hidden" name="hdGranaryNameDC" id="hdGranaryNameDC" value="光山县同富粮食贸易有限责任公司库点">
    <input type="hidden" name="hdWindowWidth" id="hdWindowWidth" value="1416" />
    <input type="hidden" name="hdWindowHeight" id="hdWindowHeight" />
    
    <input type="hidden" name="hdDataSouse" id="hdDataSouse" value="All" />
    <!--***********************************************************************************************-->
    </form>
</body>
<script language="javascript" type="text/javascript">
    function openTempOrHumAutoLookView(companyId, granaryID, time) {

        var url = "TempOrHumWarningAutoLook.aspx?CompanyID=" + companyId + "&GranaryID=" + granaryID + "&Time=" + time + "&GranaryName=" + $("#hdGranaryName").val();
        show("粮情巡检" + " (" + $("#hdCompanyName").val() + ")", url, 585, 1024, 1);
    }

    var client = "0";
    $(document).ready(function () {
        $(".storeTable").each(function () {//超出大小时候隐藏，防止单元格中的内容宽度大于单元格宽度时候换行
            var v = $(this).find("td").eq(0);//仓房名称单元格
            v.html("<div style='width:145px; overflow:hidden; white-space:nowrap; word-break: break-all;' title='" + v.text() + "'>" + v.html() + "</div>");
            v = $(this).find("td").eq(4);//储粮单元格
            if (v.html()!=null&&v.html().indexOf("]")>=0&&v.html().indexOf("[")>=0&&v.html().indexOf("]")-v.html().indexOf("[")>3)//.indexOf("食用油") >= 0)
                v.html("<div style='width:90px; overflow:hidden; white-space:nowrap; word-break: break-all;' title='" + v.text() + "'>" + v.html() + "</div>");
            v = $(this).find("td").eq(6);//储粮单元格
            if (v.html()!=null&&v.html().indexOf("]")>=0&&v.html().indexOf("[")>=0&&v.html().indexOf("]")-v.html().indexOf("[")>3)//.indexOf("食用油") >= 0)
                v.html("<div style='width:90px; overflow:hidden; white-space:nowrap; word-break: break-all;' title='" + v.text() + "'>" + v.html() + "</div>");
        });
        changeview();
        //加载AutoComplete全部数据
        Loding("DC0000000356957", "光山县同富粮食贸易有限责任公司库点", "YHLX0105", "SA0000000000401");

        //$("#hdWindowWidth").val($(window).width());  //获取当前初始化页面可视窗口的宽度
        //查询提示
        $(".Query").click(function () {
            if (client == '0') {
                $("#hdWindowWidth").val($(window).width()); //获取可视窗口的宽度
                $("#hdWindowHeight").val($(window).height());
                if ($("#hdCompany").val() == "") {
                    alert('请选择分公司！');
                    $(".Company_AutoComplete").next("input").focus();
                    return false;
                } else if ($("#hdGranaryDC").val() == "") {
                    alert('请选择粮库！');
                    $(".Granary_AutoComplete_DC").next("input").focus();
                    return false;
                } else if (document.getElementById("txtTime").value == "") {
                    alert('请选择时间！');
                    return false;
                }
                if ($("#hdGranaryDC").val() == "-1")
                    $("#divMask").show();
            }
            else {
                return checkInfo();
            }

        })

        //粮情巡检
        $("#btn_QueryInspection").click(function () {
            $("#hdWindowWidth").val($(window).width());  //获取当前可视窗口的宽度

            if ($("#hdCompany").val() == "") {
                alert('请选择分公司！');
                $(".Company_AutoComplete").next("input").focus();
                return false;
            }
            else {
                openTempOrHumAutoLookView($("#hdCompany").val(), $("#hdGranary").val(), $("#txtTime").val());
                return false;
            }
        })
        //功能跳转
        $(".RedirectOtherPage").click(function () {
            if ($("#hdCompany").val() == "") {
                alert('请选择分公司！');
                $(".Company_AutoComplete").next("input").focus();
                return false;
            }
            else if (($("#hdGranaryDC").val() == "-1") && $(this).attr("data-canall") == "0") {
                alert('请选择粮库！');
                $(".Granary_AutoComplete_DC").next("input").focus();
                return false;
            }
            else if (document.getElementById("txtTime").value == "") {
                alert('请选择时间！');
                return false;
            }

            var checkUrl = $(this).attr("lang");   //获取要跳转到的页面
            var checkText = $(this).val();         //获取Select选择的Text 
            var checkValue = $(this).attr("validationgroup"); //获取Select选择的Value 

            openPanelWithMenu(checkValue, checkText, checkUrl + "?gid=" + $("#hdGranary").val() + "&GranaryName=" + $("#hdGranaryName").val() + "&GidDc=" + $("#hdGranaryDC").val() + "&datetime=" + CurentTime() + "&windowWidth=" + $("#hdWindowWidth").val());

        });

        //显示/隐身仓房分类
        $("#storeSort").toggle(
            function () {
                $(this).val("汇总↑").attr("title", "隐藏汇总");
                $("#dvStoreSort").fadeIn("slow");

            },
            function () {
                $(this).val("汇总↓").attr("title", "查看汇总");
                $("#dvStoreSort").fadeOut("fast");
            }
        );
        //查看仓房明细
        $(".storeTable").live({
            mouseenter: function () {
                $(this).find("td").css("color", "red");
                $(this).css({ "cursor": "hand", "text-decoration": "underline" })
            },
            mouseleave: function () {
                $(this).find("td").css("color", "black");
                $(this).css("text-decoration", "none")
            }
        });
        $(".storeTable").live("click", function () {
            var StoreID = $(this).attr("lang");
            ShowInfo(StoreID);
        });
        $(".storeButton").click(function () {
            var StoreID = $(this).attr("id");
            ShowInfo(StoreID);
        });
        //按分类查询仓房
        $(".iConButton").click(function () {
            //            var StoreStatus = $(this).find("img").attr("id");

            //            $("#hdStoreStatus").val(StoreStatus);

            //            $("#btn_Query").click();
            var StoreStatus = $(this).find("img").attr("id");
            var data_warningtext = $(this).attr('data-warningtext');
            ShowWarningType(StoreStatus, data_warningtext);
        });
        $(".iConButton").hover(
            function () {
                $(this).find("label").css("color", "red");
                $(this).find("label").css("text-decoration", "underline")
            },
            function () {
                $(this).find("label").css("color", "black");
                $(this).find("label").css("text-decoration", "none")
            });
        $(".storeButton").hover(
            function () {
                $(this).css("color", "red");
                $(this).css("text-decoration", "underline")
            },
            function () {
                $(this).css("color", "black");
                $(this).css("text-decoration", "none")
            });
        $("#divHouseWarningContainer a").each(function () {
            if ($.trim($(this).attr("isShow")) != "") {
                $(this).bt({
                    ajaxPath: ["$(this).attr('mainid')", 'div#midright'], width: 550, fill: 'white', closeWhenOthersOpen: true,
                    trigger: ['hover']
                });
            }
        });

        //返回全部仓房
        $("#btnQueryAll").click(function () {

            $("#btn_Query").click();
        });

        $("#NonePosition a").each(function () {
            if ($.trim($(this).attr("isShow")) != "") {
                $(this).bt({
                    ajaxPath: ["$(this).attr('mainid')", 'div#midright'], width: 550, fill: 'white', closeWhenOthersOpen: true,
                    trigger: ['hover']
                });
            }
        });
        //库前面的展开、收起
        $(".gidShow").click(
                function () {
                    var gid = $(this).attr("data-gid");
                    var isvisible = $("#gidContent" + gid).attr('data-isvisible');
                    if (isvisible == '1') {//当前展开，则收起
                        HideGid(gid, 'S');
                    }
                    else {
                        ShowGid(gid, 'S');
                    }
                    ViewShowZhan(); //更改全部展开、收起的状态
                }
            );
        //全部展开、收起
        $("#divShowOrHide").click(
                function () {
                    var e = ShowAllZhanKai();
                    if (e) {//全部展开
                        $.each($("[data-Role='gidContent']"), function (i, item) {
                            var gid = $(item).attr("data-gid");
                            ShowGid(gid);
                        });
                    }
                    else {
                        $.each($("[data-Role='gidContent']"), function (i, item) {
                            var gid = $(item).attr("data-gid");
                            HideGid(gid);
                        });
                    }
                    ViewShowZhan();
                }
            );
        $("[data-attclick]").click(function () {
            var nowGid = $(this).attr("data-gid");
            showGid(nowGid);
        });
        $("#btnreturn").click(function () {
            returnNav();
        });
        $("[data-huizong-gid]").click(function () {
            var gid = $(this).attr('data-gid');
            showGid(gid);
            ShowWarningType('', '');
        });
        //显示全部展开/折叠图片时候,右侧的状态span需要向下移动
        if (document.getElementById("divShowOrHide") != null) {
            document.getElementById("spanShowMing").style.marginTop = "13px";
        }
        $(".checktime").attr("title", "粮情平台检测分析时粮食储量");
        $(".grain").attr("title", "保管员最后更新粮食储量 ");
        $("#selectSortMethod").change(function () {
            changeview();
        });
        function changeview() {
            //return;
            var selected = $("#selectSortMethod").children('option:selected');
            //alert(selected.val());
            if (selected.val() == "0") {
                //                    //$("#dvSortByHouseID").empty();
                //                    $.each($("[data-index]"), function (index, ob) {
                //                        $(this).remove().appendTo($("#dvSortByHouseID"));
                //                    });
                //                    $("#dvSortByChubei").empty();

                //////////
                $.each($(".SortByChubei"), function (gidindex, gidob) {
                    var gid = $(this).attr("data-gid");
                    var sortbyhouseid = $("#dvSortByHouseID" + gid);
                    $.each($("#dvSortByChubei" + gid + " [data-chubei]"), function (cangIndex, cangOb) {
                        $(this).remove().appendTo(sortbyhouseid);
                    });
                    $(this).empty();
                });


            }
            else if (selected.val() == "1") {
                //                    $("#dvSortByChubei").empty();
                var chubeis = ['ZC', 'ZD', 'LC', 'TC', 'HC', 'SC'];
                var chubeinames = ["中央储备", "托市粮", "临时储备", "特种储备", "混合储备", "商品储备"];

                $.each($(".SortByHouseID"), function (gidindex, gidob) {
                    var gid = $(this).attr("data-gid");
                    var sortbychubei = $("#dvSortByChubei" + gid);
                    $.each($("#dvSortByChubei" + gid + " [data-chubei]"), function (cangindex, cangob) {

                    });

                    $.each(chubeis, function (cbi, cb) {
                        var items = $("#dvSortByHouseID" + gid).find(" [data-chubei='" + cb + "']");
                        if (items.length > 0) {
                            var obcbi = $("<div style='margin:3px 0px;'><div style=\" width:131px;background:url('imgs/title-bg.png') no-repeat;\"><table style='border:none;'><tr><td style=' text-align:center; width:80px; border:none;'><span >" + chubeinames[cbi] + "</span></td><td style='width:50px; text-align:center; border:none;' class='shouqi' ><img src='imgs/down.png' /></td></tr></table></div></div>");
                            var obcbiContainer = $("<div></div>");
                            obcbiContainer.appendTo(obcbi);
                            $.each(items, function (i, val) {
                                $(this).remove().appendTo(obcbiContainer);
                            });
                            $("<div style='clear:both;'></div>").appendTo(obcbi);
                            obcbi.appendTo(sortbychubei);
                        }
                    });
                    $(this).empty();
                });


            }
        }

        $(".shouqi").live('click', function () {
            $(this).parent().parent().parent().parent().next().slideUp();
            $($(this).children().eq(0)).attr('src', 'imgs/up.png');
            $(this).removeClass("guanbi");
            $(this).addClass("zhankai");
        });
        $(".zhankai").live('click', function () {
            $(this).parent().parent().parent().parent().next().slideDown();
            $($(this).children().eq(0)).attr('src', 'imgs/down.png');
            $(this).removeClass("zhankai");
            $(this).addClass("shouqi");
        });
    });
    //显示某个库的仓房预警
    function showGid(nowGid) {
        $("#dvNav").hide();
        var nowGid2 = $("#btnreturn").attr('data-nowgid');
        if (nowGid2 != undefined) {
            $("#warninggid" + nowGid2).hide();
            //alert(nowGid2);
        }
        $("#btnreturn").attr('data-nowgid', nowGid);
        var docWidth = $(window).width(); // document.documentElement.clientWidth;
        var docHeight = $(window).height(); // document.documentElement.clientHeight;
        //            alert(docWidth + "," + docHeight);
        //            alert($(window).width() + "," + $(window).height());
        var perLiWidth = 160; //  $(".ulWarning li")[0].width();
        var hNum = Math.floor((docWidth - 20) / perLiWidth); //水平方向放几个。20是滚动条
        if (hNum <= 0)
            hNum = 1;
        var permargin = Math.abs(Math.floor((docWidth - hNum * perLiWidth - 20) / (hNum * 2)));
        //alert(perLiWidth + "," + hNum + "," + docWidth + "," + permargin);
        $.each($(".ulWarning li"), function () {
            $(this).css('margin-left', permargin + 'px');
            $(this).css('margin-right', permargin + 'px');
        });
        $("#divComments").show();
        $("#warninggid" + nowGid).show();
        $(".ulWarning").attr('min-width', docWidth);
        $(".ulWarning").attr('overflow', 'scroll');
    }
    //返回到导航
    function returnNav() {
        $("#dvNav").show();
        $("#divComments").hide();
        var nowGid = $("#btnreturn").attr('data-nowgid');
        if (nowGid != undefined)
            $("#warninggid" + nowGid).hide();
    }
    //显示某个预警类型
    function ShowWarningType(StoreStatus, data_warningtext) {
        if (StoreStatus != "") {
            var num = 0;
            $.each($("[data-li-statusid]"), function () { var s = $(this).attr('data-li-statusid'); if (s != StoreStatus) $(this).parent().hide(); else { $(this).parent().show(); num++; } });
            $("#btnShowAll").show();
            $('#nowWarningText').html('当前类型:【<span style="font-weight:bold;">' + data_warningtext + '</span>】，共' + num + '个');
            $("#divShowAllType").show();
        }
        else {
            $.each($("[data-li-statusid]"), function () { $(this).parent().show(); });
            $("#btnShowAll").hide();
            $('#nowWarningText').html('');
            $("#divShowAllType").hide();
        }

    }
    //获取时间
    function CurentTime() {
        var now = new Date();

        var year = now.getFullYear();       //年
        var month = now.getMonth() + 1;     //月
        var day = now.getDate();            //日

        var hh = now.getHours();            //时
        var mm = now.getMinutes();          //分

        var clock = year + "-";

        if (month < 10)
            clock += "0";

        clock += month + "-";

        if (day < 10)
            clock += "0";

        clock += day + " ";

        //            if (hh < 10)
        //                clock += "0";

        //            if (mm < 10)
        //                clock += "0";

        return (clock);
    }
    function openPanelWithMenu(node_id, node_text, node_url) {
        var v = node_url.indexOf("top=1", 0);
        if (v >= 0) {
            var newpage = window.open(node_url);
            newpage.blur();
            return;
        }
        var n = window.top.center.getComponent(node_id);

        if (n) { //判断是否已经打开该面板
            window.top.center.remove(n);
        }
        n = window.top.center.add({
            xtype: "panel",
            id: node_id,
            iconCls: 'totalicon',
            title: node_text,
            closable: true,  //通过html载入目标页
            html: '<iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="' + node_url + '"></iframe>'
        });
        window.top.center.setActiveTab(n);
    }

    function isFromClient() {
        var url = document.URL.split('?');
        var result = '';
        if (url.length > 0) {
            var param = '&' + url[1];
            if (param.indexOf('&from') != -1) {
                if (param.substring(param.indexOf('from'), param.length).indexOf('&') != -1) {
                    var paramste = param.substring(param.indexOf('from'), param.length);
                    result = paramste.substr(paramste.indexOf('from'), paramste.indexOf('&') - paramste.indexOf('from'));

                }
                else {
                    result = param.substring(param.indexOf('from'), param.length);
                }
            }
        }
        return result;
    }

    function ShowInfo(StoreHouseId) {
        var param = isFromClient()
        var url = "ViewStoreInfo.aspx?ID=" + StoreHouseId + "&GranaryID=" + $("#hdGranaryDC").val() + "&" + param;
        show("仓房详细信息", url, 480, 810, 1);
    }
    function ShowInfo2(url) {
        //url = url + "&companyid=" + document.getElementById("ddlCompany").value
        url = url + "&companyid=" + $(".Company_AutoComplete").val();
        show("粮仓测控数据详情", url, 600, 800, 1);
        //show("粮仓测控数据详情", url, 450, 650, 1);
        //popup = new show("粮仓测控数据详情", url, 600, 800, 1);
    }
    // 关闭窗口，同时刷新页面

    function openLoginDialog() {
        openDialog('localhost:8080/bbs/form/login.jsp', '登录', 435, 420)
    }

    function closePopup(msg) {
        if (popup != null) {
            alert(msg);
            popup.Hide();
        } else {
            alert(msg);
            popup = null;
        }
    }
    function checkInfo() {

        if ($.trim($("#ddlCompany").val()) == "") {
            alert("请选择分公司2");
            return false;
        }
        if ($("#ddlOrg option").length == 0 || $.trim($("#ddlOrg").val()) == "") {
            alert("请选择粮库");
            return false;
        }
        if ($.trim($("#txtTime").val()) == "") {
            alert("请选择时间");
            return false;
        }
        $("#hdCompany").val($("#ddlCompany").val());
        $("#hdGranary").val($("#ddlOrg").val());

    }
    function getViewportHeight() {
        if (window.innerHeight != window.undefined) return window.innerHeight;
        if (document.compatMode == 'CSS1Compat') return document.documentElement.clientHeight;
        if (document.body) return document.body.clientHeight;

        return window.undefined;
    }
    function getViewportWidth() {
        if (window.innerWidth != window.undefined) return window.innerWidth;
        if (document.compatMode == 'CSS1Compat') return document.documentElement.clientWidth;
        if (document.body) return document.body.clientWidth;

        return window.undefined;
    }
    function getScrollTop() {
        if (self.pageYOffset) {
            return self.pageYOffset;
        }
        else if (document.documentElement && document.documentElement.scrollTop) {
            return document.documentElement.scrollTop;
        }
        else if (document.body) {
            return document.body.scrollTop;
        }
    }
    function getScrollLeft() {
        if (self.pageXOffset) {
            return self.pageXOffset;
        }
        else if (document.documentElement && document.documentElement.scrollLeft) {
            return document.documentElement.scrollLeft;
        }
        else if (document.body) {
            return document.body.scrollLeft;
        }
    }

    var rT = true; //允许图像过渡
    var bT = true; //允许图像淡入淡出
    var tw = 150; //提示框宽度
    var endaction = false; //结束动画
    var ns4 = document.layers;
    var ns6 = document.getElementById && !document.all;
    var ie4 = document.all;
    offsetX = 10;
    offsetY = 20;
    var toolTipSTYLE = "";
    function initToolTips() {
        tempDiv = document.createElement("div");
        tempDiv.id = "toolTipLayer";
        tempDiv.style.position = "absolute";
        tempDiv.style.display = "none";
        document.body.appendChild(tempDiv);
        if (ns4 || ns6 || ie4) {
            if (ns4) toolTipSTYLE = document.toolTipLayer;
            else if (ns6) toolTipSTYLE = document.getElementById("toolTipLayer").style;
            else if (ie4) toolTipSTYLE = document.all.toolTipLayer.style;
            if (ns4) document.captureEvents(Event.MOUSEMOVE);
            else {
                toolTipSTYLE.visibility = "visible";
                toolTipSTYLE.display = "none";
            }
            document.onmousemove = moveToMouseLoc;
        }
    }
    function toolTip(msg, fg, bg) {
        try {
            if (toolTip.arguments.length < 1) // hide
            {
                if (ns4) {
                    toolTipSTYLE.visibility = "hidden";
                }
                else {
                    if (!endaction) { toolTipSTYLE.display = "none"; }
                    if (rT) document.all("msg1").filters[1].Apply();
                    if (bT) document.all("msg1").filters[2].Apply();
                    document.all("msg1").filters[0].opacity = 0;
                    if (rT) document.all("msg1").filters[1].Play();
                    if (bT) document.all("msg1").filters[2].Play();
                    if (rT) {
                        if (document.all("msg1").filters[1].status == 1 || document.all("msg1").filters[1].status == 0) {
                            toolTipSTYLE.display = "none";
                        }
                    }
                    if (bT) {
                        if (document.all("msg1").filters[2].status == 1 || document.all("msg1").filters[2].status == 0) {
                            toolTipSTYLE.display = "none";
                        }
                    }
                    if (!rT && !bT) toolTipSTYLE.display = "none";
                }
            }
            else {
                if (!fg) fg = "#777777";
                if (!bg) bg = "#eeeeee";
                var htmlstrt = "";
                var list = new Array();
                list = msg.split(',');
                for (var i = list.length - 1; i >= 1; i--) {
                    if (list[i] == "1")//空层
                    { htmlstrt += "<div style='height:15px;width:auto;background-image:url(imgs/ceng.gif);text-align:center;color:Red;'>空</div>"; }
                    else if (list[i] == "2")//数据异常
                    { htmlstrt += "<div style='height:15px;width:auto;background-image:url(imgs/ceng.gif);text-align:center;color:Red;'>测温信息点异常</div>"; }
                    else
                    { htmlstrt += "<div style='background-image:url(imgs/ceng.gif);height:15px;width:auto;text-align:center;'>满</div>"; }
                }
                var content = "<div style='width:78px;text-align:center;'><div style='width:auto;'><img src='imgs/toppp.gif' border='0' /></div>" + htmlstrt + "</div>";
                if (htmlstrt == "")
                { content = msg; }

                if (ns4) {
                    toolTipSTYLE.document.write(content);
                    toolTipSTYLE.document.close();
                    toolTipSTYLE.visibility = "visible";
                }
                if (ns6) {
                    document.getElementById("toolTipLayer").innerHTML = content;
                    toolTipSTYLE.display = 'block'
                }
                if (ie4) {
                    document.all("toolTipLayer").innerHTML = content;
                    toolTipSTYLE.display = 'block'
                    //--图象过渡，淡入处理--
                    var cssopaction = document.all("msg1").filters[0].opacity
                    document.all("msg1").filters[0].opacity = 0;
                    if (rT) document.all("msg1").filters[1].Apply();
                    if (bT) document.all("msg1").filters[2].Apply();
                    document.all("msg1").filters[0].opacity = cssopaction;
                    if (rT) document.all("msg1").filters[1].Play();
                    if (bT) document.all("msg1").filters[2].Play();
                }
            }
        } catch (e) { }
    }
    function moveToMouseLoc(e) {
        var scrollTop = getScrollTop();
        var scrollLeft = getScrollLeft();
        if (ns4 || ns6) {
            x = e.pageX + scrollLeft;
            y = e.pageY - scrollTop;
        }
        else {
            x = event.clientX + scrollLeft;
            y = event.clientY;
        }

        if (x - scrollLeft > getViewportWidth() / 2) {
            x = x - document.getElementById("toolTipLayer").offsetWidth - 2 * offsetX;
        }

        if ((y + document.getElementById("toolTipLayer").offsetHeight + offsetY) > getViewportHeight()) {
            y = getViewportHeight() - document.getElementById("toolTipLayer").offsetHeight - offsetY;
        }
        toolTipSTYLE.left = (x + offsetX) + 'px';
        toolTipSTYLE.top = (y + offsetY + scrollTop) + 'px';
        return true;
    }
    initToolTips();
</script>
<script type="text/javascript" language="javascript">

    $(document).ready(function () {
        var gc=0;
        //gc=999;//如果不是查询全部，而是查询某一个库的时候也显示导航视图，则取消注释即可
        //if (gc > 1) 
        {
            var docWidth=$(window).width();
            var docHeight=$(window).height();
            if($("#hdWindowWidth").val()!='')
                docWidth =$("#hdWindowWidth").val();// $(window).width(); // document.documentElement.clientWidth;
            if($("#hdWindowHeight").val()!='')
                docHeight =$("#hdWindowHeight").val();// $(window).height(); // document.documentElement.clientHeight;
            //            alert(docWidth + "," + docHeight);
            //            alert($(window).width() + "," + $(window).height());
            //alert(docWidth+","+docHeight);
            var mTop = 165;
            var perLiWidth = 250;
            var perLiHeight = 175;
            var hNum = Math.floor((docWidth - 20) / perLiWidth);
            if (hNum <= 0)
                hNum = 1;
            var vNum = Math.floor((docHeight - mTop) / perLiHeight);
            if (vNum <= 0)
                vNum = 1;
            if ($('#ulNav').length > 0) {
                var totalItemCount = $("#ulNav .liItem").length;
                if (totalItemCount > 0) {
//                    $("#ulNav").css('min-width', docWidth);
//                    $("#ulNav").css('overflow', 'scroll');
                    var ulpermargin = Math.abs(Math.floor((docWidth - hNum * perLiWidth - 20) / (hNum * 2)));
                    $.each($("#ulNav .liItem"), function () {
                        $(this).css('margin-left', ulpermargin + 'px');
                        $(this).css('margin-right', ulpermargin + 'px');
                    });
                    goPage(1, hNum * vNum);
                }
            }
        }
        if(gc==1) {        
            showGid('');
            //$("#btnreturn").hide();
        }
    });
    var curpageindex;
    function prePage(perPageItemCount) {
        goPage(curpageindex - 1, perPageItemCount);
    }
    function nextPage(perPageItemCount) {
        goPage(curpageindex + 1, perPageItemCount);
    }
    function goPage(toPage, perPageItemCount) {
        var totalItemCount = $("#ulNav .liItem").length;
        var totalPageCount = Math.ceil(totalItemCount / perPageItemCount);
        createPages(toPage, perPageItemCount, totalPageCount);
        createHTML(toPage, perPageItemCount, totalItemCount, totalPageCount);
        curpageindex = toPage;
    }
    function createPages(toPage, perPageItemCount, totalPageCount) {
        var pageHtml = "";
        pageHtml += ("<span class='pageBtn") + (toPage <= 1 ? " disablePageBtn'" : " enablePageBtn' onclick='prePage(" + perPageItemCount.toString() + ")'") + ("><span>上一页</span></span>");
        for (var i = 1; i < totalPageCount + 1; i++) {
            if (i != toPage)
                pageHtml += ("<span class='pageBtn enablePageBtn' data-type='pageBtn' data-page='" + i.toString() + "' onclick='goPage(" + i.toString() + "," + perPageItemCount.toString() + "," + totalPageCount.toString() + ")'><span>" + i.toString() + "</span></span>");
            else
                pageHtml += ("<span class='pageBtn curPageBtn' data-type='pageBtn' data-page='" + i.toString() + "' ><span>" + i.toString() + "</span></span>");
        }
        pageHtml += ("<span class='pageBtn") + (toPage >= totalPageCount ? " disablePageBtn'" : " enablePageBtn' onclick='nextPage(" + perPageItemCount.toString() + ")'") + ("><span>下一页</span></span>");
        $("#pageContainer").html(pageHtml);
    }
    function createHTML(toPage, perPageItemCount, totalItemCount, totalPageCount) {
        var from = (toPage - 1) * perPageItemCount + 1;
        var end = toPage * perPageItemCount;
        $.each($("#ulNav .liItem"), function (index) {
            if (index + 1 >= from && index + 1 <= end) {
                $(this).show();
            }
            else
                $(this).hide();
        });
    }
</script>
<script type="text/javascript">
    function openReports(storehouseID, serialno2, analytime) {
        //var url = "StoreHouseCurrentReportManage.aspx?storehouseid=" + storehouseID + (serialno2 == "" ? "" : ("&serialno2=" + serialno2)) + "&analytime=" + analytime;
        //show("仓房储量状态简报", url, 450, 900, 1);

        if (confirm("是否要到仓房储粮简报管理页面？"))
        { openPanelWithMenu2() };
    }

    function openPanelWithMenu2() {
        var node_id = "003021";
        var node_text = "仓房储粮简报管理";
        var node_url = "Pages/StoreWarning/StoreHouseBriefReportInfoForWaiWang.aspx";
        var v = node_url.indexOf("top=1", 0);
        if (v >= 0) {
            //                if (top != self)
            //                    top.location = node_url;
            //                else
            //                    self.location = node_url;
            var newpage = window.open(node_url);
            newpage.blur();
            return;
        }
        var n = window.top.center.getComponent(node_id);

        if (n) {//判断是否已经打开该面板
            window.top.center.remove(n);
        }
        n = window.top.center.add({
            xtype: "panel",
            id: node_id,
            iconCls: 'totalicon',
            title: node_text,
            closable: true,  //通过html载入目标页
            html: '<iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="' + node_url + '"></iframe>'
        });
        window.top.center.setActiveTab(n);
    }
    //是否显示全部展开或全部收起
    function ViewShowZhan() {
        var e = ShowAllZhanKai();
        if (e) {
            ShowZhanKai($("#divShowOrHide"));
        }
        else {
            ShowShouQi($("#divShowOrHide"));
        }
    }
    function HideGid(gid, t) {
        if (t == "S") {//$("#gidContent" + gid).fadeOut();
            $("#gidContent" + gid).slideUp();
        }
        else {
            $("#gidContent" + gid).hide();
        }
        $("#gidContent" + gid).attr('data-isvisible', '0');
        ShowZhanKai($("#gidShow" + gid));
    }
    function ShowGid(gid, t) {
        if (t == "S") {//$("#gidContent" + gid).fadeOut();
            $("#gidContent" + gid).slideDown();
        }
        else {
            $("#gidContent" + gid).show();
        }
        $("#gidContent" + gid).attr('data-isvisible', '1');
        ShowShouQi($("#gidShow" + gid));
    }
    function ShowShouQi(v) {
        //            v.removeClass("gidShow_ZhanKai");
        //            v.addClass("gidShow_ShouQi");
        $(v).attr('src', '../../Res/Images/Platform/shouqi.jpg');
    }
    function ShowZhanKai(v) {
        //            v.removeClass("gidShow_ShouQi");
        //            v.addClass("gidShow_ZhanKai");
        $(v).attr('src', '../../Res/Images/Platform/zhankai.jpg');
    }
    function ShowAllZhanKai() {//是否变成全部展开图标：全部收起或展开收起共存情况下，显示展开           
        var zhankai = 0;
        var shouqi = 0;
        $.each($("[data-Role='gidContent']"), function (i, item) {
            if ($(item).attr("data-isvisible") == "0")
                shouqi++;
            else
                zhankai++;
        });
        if (shouqi > 0 && zhankai > 0) return true;
        else if (zhankai == 0) return true;
        return false;
    }
</script>
</html>
